public class WhileExercise1 {
    public static void main(String[] args) {
//        打印1-100之间的偶数
        /*for(int i=2; i<=100; i+=2){
            System.out.println(i);
        }*/
        int i=2;
        while(i<=100){
            System.out.println(i);
            i+=2;
        }

    }
}
